package com.mall.query.search;

import java.io.Serializable;

import org.apache.commons.lang3.builder.ReflectionToStringBuilder;

/**
 * 店铺搜索的query对象
 * 
 * @author Administrator
 *
 */
public class MallSearchQuery implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7741254614088302053L;

	private Long id;
	private Long[] ids;// ids
	private Integer commKeyId;// 主键
	private Integer mallMainCategoryId;// 一级类目id
	private Integer mallSecCategoryId;// 二级类目id
	private String keyWord;// 查询词
	private Boolean boolNear;// 距离排序
	private Long beginPrice;// 开始价格
	private Long endPrice;// 结束价格
	private Double gaodeLatitude;
	private Double getGaodeLongitude;
	private Integer nearDistance;// 多少距离
	private Double[] rectangles;//需要距离查询的时候的4个坐标
	
	private String orderBy;
	private Integer searchPrice;
	private Integer searchPingtaiPingFen;
	private Long ssig;

	public Long getSsig() {
		return ssig;
	}

	public void setSsig(Long ssig) {
		this.ssig = ssig;
	}

	public String getOrderBy() {
		return orderBy;
	}

	public void setOrderBy(String orderBy) {
		this.orderBy = orderBy;
	}

	public Integer getSearchPrice() {
		return searchPrice;
	}

	public void setSearchPrice(Integer searchPrice) {
		this.searchPrice = searchPrice;
	}

	public Integer getSearchPingtaiPingFen() {
		return searchPingtaiPingFen;
	}

	public void setSearchPingtaiPingFen(Integer searchPingtaiPingFen) {
		this.searchPingtaiPingFen = searchPingtaiPingFen;
	}

	public Integer getCommKeyId() {
		return commKeyId;
	}

	public void setCommKeyId(Integer commKeyId) {
		this.commKeyId = commKeyId;
	}

	public Integer getMallMainCategoryId() {
		return mallMainCategoryId;
	}

	public void setMallMainCategoryId(Integer mallMainCategoryId) {
		this.mallMainCategoryId = mallMainCategoryId;
	}

	public Integer getMallSecCategoryId() {
		return mallSecCategoryId;
	}

	public void setMallSecCategoryId(Integer mallSecCategoryId) {
		this.mallSecCategoryId = mallSecCategoryId;
	}

	public String getKeyWord() {
		return keyWord;
	}

	public void setKeyWord(String keyWord) {
		this.keyWord = keyWord;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Boolean getBoolNear() {
		return boolNear;
	}

	public void setBoolNear(Boolean boolNear) {
		this.boolNear = boolNear;
	}

	public Long getBeginPrice() {
		return beginPrice;
	}

	public void setBeginPrice(Long beginPrice) {
		this.beginPrice = beginPrice;
	}

	public Long getEndPrice() {
		return endPrice;
	}

	public void setEndPrice(Long endPrice) {
		this.endPrice = endPrice;
	}

	public Double getGaodeLatitude() {
		return gaodeLatitude;
	}

	public void setGaodeLatitude(Double gaodeLatitude) {
		this.gaodeLatitude = gaodeLatitude;
	}

	public Double getGetGaodeLongitude() {
		return getGaodeLongitude;
	}

	public void setGetGaodeLongitude(Double getGaodeLongitude) {
		this.getGaodeLongitude = getGaodeLongitude;
	}

	public Integer getNearDistance() {
		return nearDistance;
	}

	public void setNearDistance(Integer nearDistance) {
		this.nearDistance = nearDistance;
	}

	public Long[] getIds() {
		return ids;
	}

	public void setIds(Long[] ids) {
		this.ids = ids;
	}

	public Double[] getRectangles() {
		return rectangles;
	}

	public void setRectangles(Double[] rectangles) {
		this.rectangles = rectangles;
	}

	@Override
	public String toString() {
		return ReflectionToStringBuilder.toString(this);
	}

}
